//接口文件
import {request} from "./core";
import {URL,METHOD} from "./config";



 export default {
     install(Vue){
         Vue.prototype.$APIClient = this;
     },
     /**
        * 
        * @param {*} username 
        * @param {*} password 
     */
    login(username,password){
        console.log("12345");
        request(METHOD.GET,URL.login,{params:{mobile:username,pwd:password}});
    },
    list(){
        request(METHOD.GET,URL.list)
    }
 }